﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>hubPage</title>

    <link href="/css/phone.css" rel="stylesheet" />
    <link href="/pages/hub/hubphone.css" rel="stylesheet" />
    <script src="/js/hl.js"></script>
    <script src="/pages/hub/hub.js"></script>
</head>
<body>
    <div class="hubpage fragment">
        <header aria-label="Header content" role="banner">
            <button class="titlearea backbutton" data-win-control="WinJS.UI.BackButton"></button>
            <h1 class="titlearea win-type-ellipsis">
                <span class="pagetitle" data-win-res="{ innerHTML: 'AppTitle' }"></span>
            </h1>
        </header>
        <section aria-label="Main content" role="main">
            <div class="hub" data-win-control="WinJS.UI.Pivot">
                <div class="section1 section"
                     data-win-control="WinJS.UI.PivotItem"
                     data-win-options="{ onheaderinvoked: select('.pagecontrol').winControl.viewerinvoked }"
                     data-win-res="{ winControl: {'header': 'Section1Mobile'} }">
                    <div class="hubsection hubsection1">
                        <div class="hubitemtemplate viewerhubitem" data-win-control="WinJS.Binding.Template">
                            <div class="hubitem vieweritem">
                                <div class="text" data-win-bind="innerHTML: title"></div>
                                <div class="index hidden" data-win-bind="innerHTML: id"></div>
                            </div>
                        </div>
                        <div class="listcontainer">
                            <div class="hublist"
                                 data-win-control="WinJS.UI.ListView"
                                 data-win-options="{ itemDataSource: HL.hubSection1Elements.dataSource,
                                 itemTemplate: select('.viewerhubitem'),
                                 layout: { type: WinJS.UI.ListLayout } }"></div>
                        	<div class="sometext label-extralarge">See All</div>
                        </div>
                    </div>
                </div>
                <div class="section2 section"
                     data-win-control="WinJS.UI.PivotItem"
                     data-win-options="{ onheaderinvoked: select('.pagecontrol').winControl.mapperinvoked }"
                     data-win-res="{ winControl: {'header': 'Section2Mobile'} }">
                    <div class="hubsection hubsection2">
                        <div class="hubitemtemplate mapperhubitem" data-win-control="WinJS.Binding.Template">
                            <div class="hubitem mapperitem">
                                <div class="text" data-win-bind="innerHTML: name"></div>
                                <div class="id hidden" data-win-bind="innerHTML: id"></div>
                            </div>
                        </div>
                        <div class="listcontainer">
                            <div class="sometext label-extralarge">See All</div>
                            <div class="hublist"
                                 data-win-control="WinJS.UI.ListView"
                                 data-win-options="{ itemDataSource: HL.hubSection2Elements.dataSource,
                                 itemTemplate: select('.mapperhubitem'),
                                 layout: { type: WinJS.UI.ListLayout } }"></div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>
</body>
</html>
